using System;
using System.Collections.Generic;
using System.Text;
using Koda.VisualStudio.Integration;
using EnvDTE;

namespace Koda.Commands
{
    public class CloseAllDocumentsCommand : VsCommand
    {
        public CloseAllDocumentsCommand() 
            : base("Close All Documents", "Easy MDI Document Window", 4)
        {
        }

        public override void OnExecute(VsCommandEventArgs e)
        {
            e.DTE.Documents.CloseAll(vsSaveChanges.vsSaveChangesPrompt);
        }
    }
}
